/*
 * 작성일 : 2014. 4. 10.
 * 작성자 : hch1982
 *
 * 설명
*/ 
/**
 * 
 */
package springbook.temp;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author hch1982
 *
 * 코드 수정 히스토리
 * 날짜		작업자		태그
 * 2014. 4. 10.	hch1982	
 */
public class SimpleGetServlet extends HttpServlet{

	/* (non-Javadoc)
	 * @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
	 */
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		// TODO Auto-generated method stub
		String name = req.getParameter("name");
		
		resp.getWriter().print("<HTML><BODY>");
		resp.getWriter().print("Hello" + name);
		resp.getWriter().print("</BODY></HTML>");
	}
	
}
